<% layout('layout') %><!--加载全局布局文件-->
<div ng-controller="PointCtrl" ng-cloak class="ng-cloak">

    <table class="am-table" style="font-size: 1.2rem;">
        <thead>
        <tr>
            <th width="30%">记录时间</th>
            <th width="50%">积分详情</th>
            <th width="15%">积分</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="point in points">
            <td width="30%"><span ng-bind="point.createdAt | date : 'yyyy-MM-dd HH:mm'"></span></td>
            <td width="50%"><span ng-bind="point.content"></span></td>
            <td width="15%"><span ng-bind="point.afterpoint"></span></td>
        </tr>
        </tbody>
    </table>

</div>
<% include ../navbar.ejs %>
<% block('footer').append('<script src="'+CDN+'script/point.js"></script>') %>